import request from '@/router/axios'

export function getSwAuTvmDailyBillAssistList(query) {
  return request({
    url: '/check/check/getSwAuTvmDailyBillAssistList',
    method: 'post',
    params: query
  })
}

export function getSwAuTvmDailyBillAssistDetail(query) {
  return request({
    url: '/check/check/getSwAuTvmDailyBillAssistDetail',
    method: 'post',
    params: query
  })
}
//查看TVM票款差异审核历史记录
export function queryPastRecords(param) {
  return request({
    url: '/check/check//SwAuTvmAmountDefferenceLogIdList/'+param.id+'/'+param.dataSource,
    method: 'get'
  })
}

/**
 * 修改结账单数据
 * @param query
 */
export function setSwAuTvmDailyBillAssistDetail(query) {
  return request({
    url: '/check/check/setSwAuTvmDailyBillAssistDetail',
    method: 'post',
    params: query
  })
}


/**
 * 结账单据下发
 * @param query
 */
export function sendStatusSwAuTvmDailyBillAssist(query) {
  return request({
    url: '/check/check/sendStatusSwAuTvmDailyBillAssist',
    method: 'post',
    data: query
    //params: query
  })
}
